package com.hongdee.market.bc.entity;

import com.hongdee.base.entity.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * Created by dell on 2017/5/17.
 */
@Entity
@Table(name = "T_BC_CUSTOME_ITEM_SCORE")
public class TBcCustomeItemScore extends BaseEntity {
    //评分项目ID
    @Column(name = "item_id",length = 32,columnDefinition = "VARCHAR(32) COMMENT'评分项目ID'")
    private String itemId;
    //评分方式
    @Column(name = "count_type",length = 32,columnDefinition = "VARCHAR(32) COMMENT'评分方式'")
    private  String countType;
//    //评分值
//    @Column(name = "count_value",length = 32,columnDefinition = "VARCHAR(32) COMMENT '评分值'")
//    private  String countValue;
    //区间开始
    @Column(name = "start",length = 255,columnDefinition = "FLOAT(255,1) COMMENT'区间开始'")
    private  Float start;
    //区间结束
    @Column(name = "stop",length = 255,columnDefinition = "FLOAT(255,1) COMMENT'区间结束'")
    private Float stop;

    public Float getStart() {
        return start;
    }

    public void setStart(Float start) {
        this.start = start;
    }

    public Float getStop() {
        return stop;
    }

    public void setStop(Float stop) {
        this.stop = stop;
    }

    //得分
    @Column(name = "score",length = 11,columnDefinition = "INT COMMENT'得分'")
    private  Integer score;
    //公司ID
    @Column(name = "company_id",length = 32,columnDefinition = "VARCHAR(32) COMMENT'公司ID'")
    private  String companyId;
    //显示顺序
    @Column(name = "disp_order",length = 32,columnDefinition = "VARCHAR(32) COMMENT'显示顺序'")
   private  String dispOrder;
    //状态
    @Column(name = "status",length = 32,columnDefinition = "VARCHAR(32) COMMENT'状态'")
    private  String status;

    public String getItemId() {
        return itemId;
    }

    public void setItemId(String itemId) {
        this.itemId = itemId;
    }

    public String getCountType() {
        return countType;
    }

    public void setCountType(String countType) {
        this.countType = countType;
    }

//    public String getCountValue() {
//        return countValue;
//    }
//
//    public void setCountValue(String countValue) {
//        this.countValue = countValue;
//    }

    public Integer getScore() {
        return score;
    }

    public void setScore(Integer score) {
        this.score = score;
    }

    public String getCompanyId() {
        return companyId;
    }

    public void setCompanyId(String companyId) {
        this.companyId = companyId;
    }

    public String getDispOrder() {
        return dispOrder;
    }

    public void setDispOrder(String dispOrder) {
        this.dispOrder = dispOrder;
    }

    @Override
    public String toString() {
        return "TBcCustomeItemScore{" +
                "itemId='" + itemId + '\'' +
                ", countType='" + countType + '\'' +
                ", start=" + start +
                ", stop=" + stop +
                ", score=" + score +
                ", companyId='" + companyId + '\'' +
                ", dispOrder='" + dispOrder + '\'' +
                ", status='" + status + '\'' +
                '}';
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }
}
